home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / SOURCE.ZIP / C0T.ASM < prev    next >
Assembly Source File  |  1990-06-22  |  769b  |  27 lines

  1. ;  'Extra-Tiny' memory model startup code for Turbo C 2.0
  2. ;
  3. ;  This makes smaller executable images from C programs, by
  4. ;  removing code to get command line arguments and the like.
  5. ;  Compile with Tiny model flag, do not use any standard I/O
  6. ;  library functions, such as puts() or int86().
  7. ;
  8. ;  This code courtesey PC Magazine, December 26, 1989.
  9. ;  But nobody really needs to know that.
  10.  
  11.  
  12. _text           segment byte public 'code'
  13. _text           ends
  14. _data           segment word public 'data'
  15. _data           ends
  16. _bss            segment word public 'bss'
  17. _bss            ends
  18.  
  19. dgroup          group           _text, _data, _bss
  20.  
  21. _text           segment
  22.                 org 100h
  23. begin:
  24. _text           ends
  25.  
  26.                 end     begin
  27.